翻訳と辞書
Words near each other
・ Name Your Own Price
・ Name Your Slippers
・ Name-bearing type
・ Name-dropping
・ Name.com
・ NameBase
・ Namecheap
・ Namecoin
・ Named
・ Named and Shamed
・ Named data networking
・ Named electrical trains in Saint Petersburg
・ Named graph
・ Named lectures
・ Named LNWR "Prince of Wales" Class locomotives
Named parameter
・ Named patient programs
・ Named pipe
・ Named prizes and medals of the Russian Academy of Sciences
・ Named-entity recognition
・ Namegata
・ Namegata District, Ibaraki
・ Namegawa Island Station
・ Namegawa Station
・ Namegawa, Saitama
・ Nameh Beyt Hardan
・ Nameh Shir
・ Nameh Shir Rural District
・ NAMEI Polytechnic Institute
・ Nameirakpam Ibemni Devi


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Named parameter : ウィキペディア英語版
Named parameter

In computer programming, named parameters, pass-by-name, or keyword arguments refer to a computer language's support for function calls that clearly state the name of each parameter within the function call itself.
== Overview ==
A function call using named parameters differs from a regular function call in that the values are passed by associating each one with a parameter name, instead of providing an ordered list of values.
For example, consider the following Java method call that does not use named parameters:

window.addNewControl("Title", 20, 50, 100, 50, true);

Using named parameters in Objective-C, the call can be written as:

(addNewControlWithTitle:@"Title"
xPosition:20
yPosition:50
width:100
height:50
drawingNow:YES
);

The Objective-C version is more explicit, while the Java version is more concise. Depending on the particular instance, a programmer may find one or the other easier to read.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Named parameter」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.